<!--
 * @Description: 
 * @Author: xiongkuobiao
 * @Date: 2022-08-01 08:59:25
 * @LastEditors: xiongkuobiao
 * @LastEditTime: 2024-01-08 18:03:54
-->
<template>
  <div class="app">
    <!-- name属性 -->
    <router-view v-slot="props">
      <keep-alive include="home">
        <component :is="props.Component"></component>
      </keep-alive>
    </router-view>
    <tab-bar v-show="!route.meta.hideTabBar" />
    <loading />
  </div>
</template>

<script setup>
import TabBar from "@/components/tab-bar/tab-bar.vue"
import Loading from "@/components/loading/loading.vue"
import { useRoute } from "vue-router"

const route = useRoute()
</script>

<style scoped></style>
